package cn.kgc.springboot.service;

import cn.kgc.springboot.dto.UserDTO;
import cn.kgc.springboot.entity.User;
import cn.kgc.springboot.util.LayTable;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface UserService extends IService<User> {

    LayTable getAll(String loginName, Integer page, Integer limit);

    LayTable deleteById(Integer[] ids);

    LayTable addUser(UserDTO userDTO);

    LayTable updateUser(UserDTO userDTO);

    LayTable loadMenu(Integer userId);
}
